package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectPojo;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingProjectMapper
 * @Author huangdongye
 * @Date 2025-05-08  11:47
 */
@Mapper
public interface NursingProjectMapper {

    Page<NursingProject> selectByPage(NursingProjectPojo pageNursing);

    void addNursingProject(NursingProjectVo nursingProject);

    NursingProjectVo getNursingProjectById(Long id);

    void updateNursingProject(NursingProject nursingProject);

    void updateSwitch(Long id, int status);

    void deleteNursingProject(Long id);

    List<NursingProjectVo> allNursingProject();
}
